/**
 * @projectName study_java
 * @package Template
 * @className Template.ShiJuan
 */
package Template;

/**
 * ShiJuan
 * @description 考试试卷
 * @author answer_wx
 * @date 2022/6/27 15:02
 * @version 1.0
 */
public class ShiJuan extends QATempalte {
    private String name;

    public ShiJuan(String name) {
        this.name = name;
    }

    @Override
    public void answer(String answer) {
        super.question();
        System.out.println("答题人：" + name);
        super.answer(answer);
    }
}